<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
<script type="text/javascript" src="js/jquery-3.3.1.js"></script>
<script type="text/javascript">
	$(function(){
		$("#btn").click(function(){
			$.post("GetBooksByPageServlet",{currentPage:2},function(data,status){
				console.log(data);
			})
		})
	})
</script>
</head>
<body>
	<button id="btn">点一下</button>
</body>
</html>